package com.gitee.cirnochat.chat.model.vo.resp;

import com.gitee.cirnochat.chat.model.dto.ChatMessage;
import com.gitee.cirnochat.chat.model.enums.ChatSessionType;
import com.gitee.cirnochat.chat.model.enums.MessageOperation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Schema(description = "批量消息响应对象")
@AllArgsConstructor
@NoArgsConstructor
public class ChatBatchMessageResponse  {
    /**
     * 消息操作
     */
    @Schema(description = "消息操作类型")
    private MessageOperation operation;
    /**
     * 会话类型
     */
    @Schema(description = "会话类型 0单聊 1群聊")
    private ChatSessionType sessionType;
    /**
     * 消息列表
     */
    @Schema(description = "消息列表")
    private List<ChatMessage> chatMessage;
    /**
     * 会话ID
     */
    @Schema(description = "会话ID")
    private Long sessionId;

}
